﻿<!--
	@create by 
	@update by 
	@description 
-->
<div>
	<el-form-q title="查询条件"  :field-data="queryFields" :buttons="queryButtons"></el-form-q>
  <div class="yu-toolBar">
    <el-button-group>
      <el-button icon="plus" @click="addFn"  v-if="checkPermission('create')">新增</el-button>
      <el-button icon="edit" @click="modifyFn"  v-if="checkPermission('edit')">登记</el-button>
      <el-button icon="document" @click="infoFn" v-if="checkPermission('detail')" >查看</el-button>
      <el-button icon="yx-bin" @click="deleteFn" v-if="checkPermission('delete')">删除</el-button>
      <!-- <el-button icon="yx-file-excel" @click="exportFn">导出</el-button> -->
    </el-button-group>
  </div>
  <el-table-x ref="reftable" :row-index="true"  :base-params="baseParams"
        :data-url="dataUrl" :table-columns="tableColumns" :request-type="'POST'"></el-table-x>
  <!-- 说明dialog可配置宽高属性，若不配置则宽度默认为屏幕50%，高度自适应
     width="650px" height="380px" -->
  <el-dialog-x :title="viewTitle[viewType]" :visible.sync="dialogVisible"  size="full" width="650px">
    <h3>登记基本信息</h3>
    <el-form-x ref="form1"
           :group-fields="updateFields"
           :disabled="cusDisabled" label-width="135px"></el-form-x>
        <el-form-x ref="reform" :group-fields="updateFields1" :disabled="formDisabled1" label-width="100px" ></el-form-x>
     <h3>行内贷款信息 </h3>
      <el-form-x ref="form2"
           :group-fields="updateFields2"
           :disabled="cusDisabled" label-width="135px" v-if="dialogVisible"></el-form-x>
          <el-table-x ref="billtable" :base-params="baseParams"
        :data-url="dataUrl1" :table-columns="tableColumns1" :request-type="'POST'"></el-table-x>  
        <h3>风险预警信息 </h3>
          <el-button icon="edit" @click="warnFn"  v-show="wflag">预警反馈信息登记</el-button>
          <el-table-x ref="warntable"  :base-params="baseParams"
        :data-url="dataUrl2" :table-columns="tableColumns2" :request-type="'POST'" ></el-table-x>  
         <!-- <h3>抵（质）押物保管情况、担保人偿债能力的变化情况 </h3>
         <el-button icon="edit" @click="modifyFn" >登记</el-button>
        <el-button icon="document" @click="infoFn" >查看</el-button>
         <el-table-x ref="guartable"  :base-params="baseParams"
        :data-url="dataUrl3" :table-columns="tableColumns3" :request-type="'POST'"></el-table-x>  -->
     <h3>影响贷款偿还的其他不利因素 ：</h3>
      <el-form-x ref="form3"
           :group-fields="updateFields3"
           :disabled="formDisabled" ></el-form-x>
           <h3>情况说明及建议： </h3>
      <el-form-x ref="form4"
           :group-fields="updateFields4"
           :disabled="formDisabled" ></el-form-x>
          <div class="yu-grpButton">
          <el-button icon="" @click="saveFn"  type="primary" v-show="flag">保存</el-button>
          <el-button icon="" @click="submitFn"  type="primary" v-show="flag">提交</el-button>
          <el-button icon="" @click="cancleFn"  type="primary">关闭</el-button>
          </div>
         
  </el-dialog-x>
  <el-dialog-x  :title="viewTitle[viewType]" :visible.sync="warnVisible" size="full">
        <el-form-x ref="warnform"
           :group-fields="warnFields"
           :disabled="formDisabled" label-width="100px"></el-form-x>
           <div class="yu-grpButton" >
            <el-button type="primary" @click="warnSave" icon=""  v-show="flag">保存</el-button>
             <el-button type="primary" @click="warnReturn" icon="">关闭</el-button>  
        </div>
      </el-dialog-x >
</div>
